﻿@using BrnMall.Web.StoreAdmin.Models
@model System.Collections.Generic.List<BrnMall.Web.StoreAdmin.Models.LineItemModel>

@section header{
    <title>预约排队-排队项设置</title>
    <link type="text/css" rel="stylesheet" href="/admin_store/css/site.css" />
    <script type="text/javascript" src="/admin_store/scripts/jquery.js"></script>
    <script type="text/javascript" src="/admin_store/scripts/showlist.js"></script>
}

@section body{
    <h1 class="rightH1">
        微信小程序 &gt; 店铺管理 &gt; <span class="rightH1-cur">排队项设置</span> 
        <div class="right">
            <a href="@Url.Action("EditLineItem")" class="menuBT"><img src="/admin_store/images/add.jpg" />添加</a>
            <div class="clear"></div>
        </div>
        <div class="clear"></div>
    </h1>

    @using (Html.BeginForm("LineItemList", "Restaurant"))
    {
        <div class="dataList">
            <table width="100%">
                <thead>
                    <tr>
                        <th width="80"></th>
                        <th align="left">名称</th>
                        <th align="left">描述</th>
                        <th align="left">编号分组</th>
                        <th align="left">当前叫号</th>
   
                        <th align="left">排序</th>
                        
                        <th align="left">管理操作</th>

                    </tr>
                </thead>
                <tbody>
                    @foreach (LineItemModel info in Model)
                    {
                        <tr>
                            <td></td>
                           
                            <td>@info.Name</td>
                            <td>@info.Remark</td>
                            <td>@info.StartCode</td>
                            <td>@info.CurrNumber</td>
                            
                            <td>
                                @info.DisplayOrder
                        </td>
                        <td>

                            
                                @Html.ActionLink("编辑", "EditLineItem", new { id = info.Id }, new { @class = "editOperate" })
                            <span class="btn-line">|</span>
                            @Html.ActionLink("删除", "DeleteLineItem", new { id = info.Id }, new { @class = "editOperate" })





                        </td>

                    </tr>
                    }
                </tbody>
            </table>
        </div>
    }
    
}